<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: UiCore类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_ui_core-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">UiCore类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>UI 核心  
 <a href="class_ui_core.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_ui_core_8h_source.html">UiCore.h</a>&gt;</code></p>
<div class="dynheader">
类 UiCore 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ui_core.png" usemap="#UiCore_map" alt=""/>
  <map id="UiCore_map" name="UiCore_map">
<area href="class_singleton.html" alt="Singleton&lt; UiCore &gt;" shape="rect" coords="0,56,127,80"/>
<area href="class_non_copyable.html" title="不可拷贝对象的基类" alt="NonCopyable" shape="rect" coords="0,0,127,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae911f647059322036dc5c108fe75a244"><td class="memItemLeft" align="right" valign="top"><a id="ae911f647059322036dc5c108fe75a244"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#ae911f647059322036dc5c108fe75a244">~UiCore</a> ()</td></tr>
<tr class="memdesc:ae911f647059322036dc5c108fe75a244"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:ae911f647059322036dc5c108fe75a244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9826f8152238e53aeeebfb37370b4ea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#ab9826f8152238e53aeeebfb37370b4ea">onKeyPressEvent</a> (<a class="el" href="class_event_key.html">EventKey</a> *event)</td></tr>
<tr class="memdesc:ab9826f8152238e53aeeebfb37370b4ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发Ui系统的 键盘 按下事件  <a href="#ab9826f8152238e53aeeebfb37370b4ea">更多...</a><br /></td></tr>
<tr class="separator:ab9826f8152238e53aeeebfb37370b4ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ff55a7256871f6a066b76e592dc8b1a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a2ff55a7256871f6a066b76e592dc8b1a">onKeyReleaseEvent</a> (<a class="el" href="class_event_key.html">EventKey</a> *event)</td></tr>
<tr class="memdesc:a2ff55a7256871f6a066b76e592dc8b1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发UI系统的 键盘 释放事件  <a href="#a2ff55a7256871f6a066b76e592dc8b1a">更多...</a><br /></td></tr>
<tr class="separator:a2ff55a7256871f6a066b76e592dc8b1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bdfeedd8cce3855e2c4c8d8ec0cd2bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a3bdfeedd8cce3855e2c4c8d8ec0cd2bc">onMousePressEvent</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a3bdfeedd8cce3855e2c4c8d8ec0cd2bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发UI系统的鼠标按下事件  <a href="#a3bdfeedd8cce3855e2c4c8d8ec0cd2bc">更多...</a><br /></td></tr>
<tr class="separator:a3bdfeedd8cce3855e2c4c8d8ec0cd2bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac442d4a06daa9162c9fb42370f21233b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#ac442d4a06daa9162c9fb42370f21233b">onMouseReleaseEvent</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:ac442d4a06daa9162c9fb42370f21233b"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发UI系统的鼠标释放事件  <a href="#ac442d4a06daa9162c9fb42370f21233b">更多...</a><br /></td></tr>
<tr class="separator:ac442d4a06daa9162c9fb42370f21233b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86659a6bb789c0cf2749ea270b961f06"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a86659a6bb789c0cf2749ea270b961f06">onMouseMoveEvent</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a86659a6bb789c0cf2749ea270b961f06"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发Ui系统的鼠标移动事件  <a href="#a86659a6bb789c0cf2749ea270b961f06">更多...</a><br /></td></tr>
<tr class="separator:a86659a6bb789c0cf2749ea270b961f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88c7212dcd177ca125a3e13665490c0e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a88c7212dcd177ca125a3e13665490c0e">onMouseDoubleClickedEvent</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a88c7212dcd177ca125a3e13665490c0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发UI系统的 鼠标双击事件  <a href="#a88c7212dcd177ca125a3e13665490c0e">更多...</a><br /></td></tr>
<tr class="separator:a88c7212dcd177ca125a3e13665490c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf3225c1e88afde7760f4e35700a4048"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#aaf3225c1e88afde7760f4e35700a4048">onCharacterEvent</a> (<a class="el" href="class_event_character.html">EventCharacter</a> *e)</td></tr>
<tr class="memdesc:aaf3225c1e88afde7760f4e35700a4048"><td class="mdescLeft">&#160;</td><td class="mdescRight">触发UI系统的 字符输入事件  <a href="#aaf3225c1e88afde7760f4e35700a4048">更多...</a><br /></td></tr>
<tr class="separator:aaf3225c1e88afde7760f4e35700a4048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e5f30b8305237579ae668581ca9b23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a20e5f30b8305237579ae668581ca9b23">getWidgetContainingMouse</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a20e5f30b8305237579ae668581ca9b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回包含鼠标的窗体  <a href="#a20e5f30b8305237579ae668581ca9b23">更多...</a><br /></td></tr>
<tr class="separator:a20e5f30b8305237579ae668581ca9b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00ab571dd5723c0b72f8964f9fd5cfe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_camera.html">Camera</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#ad00ab571dd5723c0b72f8964f9fd5cfe">getDefaultCamera</a> () const</td></tr>
<tr class="memdesc:ad00ab571dd5723c0b72f8964f9fd5cfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取默认相机  <a href="#ad00ab571dd5723c0b72f8964f9fd5cfe">更多...</a><br /></td></tr>
<tr class="separator:ad00ab571dd5723c0b72f8964f9fd5cfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8645dbb47eb0039cf436ff7b97b639b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#aa8645dbb47eb0039cf436ff7b97b639b">getDefaultWidget</a> ()</td></tr>
<tr class="memdesc:aa8645dbb47eb0039cf436ff7b97b639b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前的默认窗口  <a href="#aa8645dbb47eb0039cf436ff7b97b639b">更多...</a><br /></td></tr>
<tr class="separator:aa8645dbb47eb0039cf436ff7b97b639b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8a6947db548b6dd7219956c0fdea684"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#ad8a6947db548b6dd7219956c0fdea684">setDefaultWidget</a> (<a class="el" href="class_widget.html">Widget</a> *widget)</td></tr>
<tr class="memdesc:ad8a6947db548b6dd7219956c0fdea684"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置默认的窗口  <a href="#ad8a6947db548b6dd7219956c0fdea684">更多...</a><br /></td></tr>
<tr class="separator:ad8a6947db548b6dd7219956c0fdea684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2341e8a06e0266c3a002d5fd1f2d30"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a9e2341e8a06e0266c3a002d5fd1f2d30">getInputCaptureWidget</a> () const</td></tr>
<tr class="memdesc:a9e2341e8a06e0266c3a002d5fd1f2d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前捕获的窗口  <a href="#a9e2341e8a06e0266c3a002d5fd1f2d30">更多...</a><br /></td></tr>
<tr class="separator:a9e2341e8a06e0266c3a002d5fd1f2d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4f9d629e8bb02d1a7923cb0b70a3c81"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#aa4f9d629e8bb02d1a7923cb0b70a3c81">setInputCaptureWidget</a> (<a class="el" href="class_widget.html">Widget</a> *widget)</td></tr>
<tr class="memdesc:aa4f9d629e8bb02d1a7923cb0b70a3c81"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前捕获的窗口  <a href="#aa4f9d629e8bb02d1a7923cb0b70a3c81">更多...</a><br /></td></tr>
<tr class="separator:aa4f9d629e8bb02d1a7923cb0b70a3c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_non_copyable.html">NonCopyable</a></td></tr>
<tr class="memitem:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a501d34ffcc34b30de6d541887a901057"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aa3e87997196c6c1abf6131246a5331e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ad3b97d1f1e22a24e59619f01c5f81ad9"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aca1805bcfcb18eb044b585e69a18e1e0"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a2d79b154561e325fd7c6aa616316edf0"><td class="memItemLeft" align="right" valign="top"><a id="a2d79b154561e325fd7c6aa616316edf0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a2d79b154561e325fd7c6aa616316edf0">UiCore</a> ()</td></tr>
<tr class="memdesc:a2d79b154561e325fd7c6aa616316edf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造 <br /></td></tr>
<tr class="separator:a2d79b154561e325fd7c6aa616316edf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14a230f656823490cb6bb651811c85bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a14a230f656823490cb6bb651811c85bc">updateWidgetContainingMouse</a> (<a class="el" href="class_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a14a230f656823490cb6bb651811c85bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">更新包含鼠标的窗口  <a href="#a14a230f656823490cb6bb651811c85bc">更多...</a><br /></td></tr>
<tr class="separator:a14a230f656823490cb6bb651811c85bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a220ccaa0ee3dcaca4f7bba33868965a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ui_core.html#a220ccaa0ee3dcaca4f7bba33868965a4">getTargetWidgetByPos</a> (const <a class="el" href="class_vector2.html">Vector2</a> &amp;pos, const bool allowDisabled)</td></tr>
<tr class="memdesc:a220ccaa0ee3dcaca4f7bba33868965a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取某个坐标对应的UI控件  <a href="#a220ccaa0ee3dcaca4f7bba33868965a4">更多...</a><br /></td></tr>
<tr class="separator:a220ccaa0ee3dcaca4f7bba33868965a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_static_methods_class_singleton"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_singleton')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="class_singleton.html">Singleton&lt; UiCore &gt;</a></td></tr>
<tr class="memitem:ac7b8bd773889a70952cd00654e43bbe8 inherit pub_static_methods_class_singleton"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_ui_core.html">UiCore</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_singleton.html#ac7b8bd773889a70952cd00654e43bbe8">getInstance</a> ()</td></tr>
<tr class="memdesc:ac7b8bd773889a70952cd00654e43bbe8 inherit pub_static_methods_class_singleton"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取单例对象的实例  <a href="class_singleton.html#ac7b8bd773889a70952cd00654e43bbe8">更多...</a><br /></td></tr>
<tr class="separator:ac7b8bd773889a70952cd00654e43bbe8 inherit pub_static_methods_class_singleton"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>UI 核心 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ad00ab571dd5723c0b72f8964f9fd5cfe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00ab571dd5723c0b72f8964f9fd5cfe">&#9670;&nbsp;</a></span>getDefaultCamera()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_camera.html">Camera</a>* UiCore::getDefaultCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取默认相机 </p>
<dl class="section return"><dt>返回</dt><dd>Camera* </dd></dl>

</div>
</div>
<a id="aa8645dbb47eb0039cf436ff7b97b639b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8645dbb47eb0039cf436ff7b97b639b">&#9670;&nbsp;</a></span>getDefaultWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_widget.html">Widget</a>* UiCore::getDefaultWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前的默认窗口 </p>
<dl class="section return"><dt>返回</dt><dd>Widget* </dd></dl>

</div>
</div>
<a id="a9e2341e8a06e0266c3a002d5fd1f2d30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e2341e8a06e0266c3a002d5fd1f2d30">&#9670;&nbsp;</a></span>getInputCaptureWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_widget.html">Widget</a>* UiCore::getInputCaptureWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前捕获的窗口 </p>
<dl class="section return"><dt>返回</dt><dd>Widget* </dd></dl>

</div>
</div>
<a id="a220ccaa0ee3dcaca4f7bba33868965a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a220ccaa0ee3dcaca4f7bba33868965a4">&#9670;&nbsp;</a></span>getTargetWidgetByPos()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_widget.html">Widget</a>* UiCore::getTargetWidgetByPos </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vector2.html">Vector2</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>allowDisabled</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取某个坐标对应的UI控件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_vector2.html" title="2D向量">Vector2</a> &amp; pos 坐标位置 </td></tr>
    <tr><td class="paramname">const</td><td>bool allowDisabled 是否允许计算 禁用的控件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Widget* </dd></dl>

</div>
</div>
<a id="a20e5f30b8305237579ae668581ca9b23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20e5f30b8305237579ae668581ca9b23">&#9670;&nbsp;</a></span>getWidgetContainingMouse()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_widget.html">Widget</a>* UiCore::getWidgetContainingMouse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回包含鼠标的窗体 </p>
<dl class="section return"><dt>返回</dt><dd>Widget* </dd></dl>

</div>
</div>
<a id="aaf3225c1e88afde7760f4e35700a4048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf3225c1e88afde7760f4e35700a4048">&#9670;&nbsp;</a></span>onCharacterEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onCharacterEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_character.html">EventCharacter</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发UI系统的 字符输入事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_event_character.html" title="字符输入事件">EventCharacter</a></td><td>* e </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ab9826f8152238e53aeeebfb37370b4ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9826f8152238e53aeeebfb37370b4ea">&#9670;&nbsp;</a></span>onKeyPressEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onKeyPressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_key.html">EventKey</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发Ui系统的 键盘 按下事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_event_key.html" title="键盘事件">EventKey</a></td><td>* event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a2ff55a7256871f6a066b76e592dc8b1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ff55a7256871f6a066b76e592dc8b1a">&#9670;&nbsp;</a></span>onKeyReleaseEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onKeyReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_key.html">EventKey</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发UI系统的 键盘 释放事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_event_key.html" title="键盘事件">EventKey</a></td><td>* event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a88c7212dcd177ca125a3e13665490c0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88c7212dcd177ca125a3e13665490c0e">&#9670;&nbsp;</a></span>onMouseDoubleClickedEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onMouseDoubleClickedEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发UI系统的 鼠标双击事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">EventMouse*</td><td>event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a86659a6bb789c0cf2749ea270b961f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a86659a6bb789c0cf2749ea270b961f06">&#9670;&nbsp;</a></span>onMouseMoveEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onMouseMoveEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发Ui系统的鼠标移动事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">EventMouse*</td><td>event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a3bdfeedd8cce3855e2c4c8d8ec0cd2bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bdfeedd8cce3855e2c4c8d8ec0cd2bc">&#9670;&nbsp;</a></span>onMousePressEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onMousePressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发UI系统的鼠标按下事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">EventMouse*</td><td>event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ac442d4a06daa9162c9fb42370f21233b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac442d4a06daa9162c9fb42370f21233b">&#9670;&nbsp;</a></span>onMouseReleaseEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::onMouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触发UI系统的鼠标释放事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">EventMouse*</td><td>event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="ad8a6947db548b6dd7219956c0fdea684"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8a6947db548b6dd7219956c0fdea684">&#9670;&nbsp;</a></span>setDefaultWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UiCore::setDefaultWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_widget.html">Widget</a> *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置默认的窗口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_widget.html" title="控件基类">Widget</a></td><td>* widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aa4f9d629e8bb02d1a7923cb0b70a3c81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4f9d629e8bb02d1a7923cb0b70a3c81">&#9670;&nbsp;</a></span>setInputCaptureWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UiCore::setInputCaptureWidget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_widget.html">Widget</a> *&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置当前捕获的窗口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_widget.html" title="控件基类">Widget</a></td><td>* widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a14a230f656823490cb6bb651811c85bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14a230f656823490cb6bb651811c85bc">&#9670;&nbsp;</a></span>updateWidgetContainingMouse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UiCore::updateWidgetContainingMouse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>更新包含鼠标的窗口 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/ui/<a class="el" href="_ui_core_8h_source.html">UiCore.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
